package com.mhc.suzuki.dal.mapper.ext;

import com.mhc.suzuki.bo.MessageBO;
import com.mhc.suzuki.dal.mapper.MessagesMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * MyBatis Ext Mapper for Messages.
 */

@Mapper
@Repository
public interface MessagesExtMapper extends MessagesMapper {

  List<MessageBO> queryMessagesByMap(Map<String, Object> queryMap);

  Integer countMessagesByMap(Map<String, Object> queryMap);

  List<MessageBO> queryMessagesNotDeletedByMap(Map<String, Object> queryMap);

  Integer countMessagesNotDeletedByMap(Map<String, Object> queryMap);
}
